package Demo4;

public class D extends B{
    public void method(){
        //supe1.a=10; 编译报错父类private成员不可见
        super.b=20;
        super.c=30;
        super.d=40;
    }
}
